<?
session_start();
require_once ($_SERVER['DOCUMENT_ROOT']."/control/config.php");
require_once ($_SERVER['DOCUMENT_ROOT']."/control/DateUtils.php");
require_once ($_SERVER['DOCUMENT_ROOT']."/control/StringUtils.php");
require_once ($_SERVER['DOCUMENT_ROOT']."/guicomponents/components.php");

global $connectionstring;
$connectionstring = ConnectMainDatabase();

Create_HTML();

createTruageRegisterStatusBar();

require_once ($_SERVER['DOCUMENT_ROOT']."/MainSearchBar.php");
require_once ($_SERVER['DOCUMENT_ROOT']."/MainStatus.php");

//CloseMainDatabase($connectionstring);
Close_HTML();

?>